Skip to main content

CloudUnity Assistant

Overview

CloudUnity Assistant is an intuitive command-based tool that allows you to manage your AWS cloud resources effortlessly. With simple text commands, you can create, modify, and manage EC2 instances, Auto Scaling Groups, storage volumes, S3 buckets, and RDS databases.

Getting Started

To interact with CloudUnity Assistant, simply type a command following the predefined formats listed below. To see the full list of available commands, type:

help

Available Commands

EC2 Instance Management

  • Create an EC2 instance
    create instance
  • Terminate an EC2 instance
    terminate instance [instance-id]
  • Stop an EC2 instance
    stop instance [instance-id]
  • Reboot an EC2 instance
    reboot instance [instance-id]
  • Start an EC2 instance
    start instance [instance-id]
  • List all EC2 instances
    list instances

Auto Scaling Group Management

  • Create an Auto Scaling Group
    create auto scaling group test launch-template-id lt-000454cbdbe15523f subnet-ids subnet-0a707c9fbf43c29d4 lt-version $Latest min-size 1 max-size 1 desired-capacity 1 health-check-type EC2 health-check-grace-period 300
  • Delete an Auto Scaling Group
    delete auto scaling group test
  • List Auto Scaling Groups
    list auto scaling group

Volume Management

  • Create a volume
    create volume size 1 volume-type gp3 iops 3000 throughput 125
  • Attach a volume to an instance
    attach volume vol-123 to instance-id i-123 device /dev/sdf
  • Detach a volume from an instance
    detach volume vol-123 from instance-id i-123
  • Delete a volume
    delete volume volume-id
  • List all volumes
    list volume

S3 Bucket Management

  • Create a bucket
    create bucket test-bucket storage-class storage-class-name  # (storage class is optional)
  • Update a bucket's storage class
    update bucket my-bucket storage-class STANDARD to GLACIER
  • Delete a bucket
    delete bucket test-bucket

RDS Database Management

  • Create an RDS instance
    create rds db-id DB123 instance-class db.t3.micro engine mysql master-username admin master-password mypassword allocated-storage 20
  • List all RDS instances
    list rds
  • Delete an RDS instance
    delete rds my-instance-id engine mysql skip-snapshot true (OR) false cluster-id cluster-identifier

Additional Information

  • The assistant will guide you if any required parameters are missing.
  • Optional parameters are marked accordingly.
  • To see the available commands anytime, simply type:
    help

CloudUnity Assistant makes managing AWS resources easy and efficient. Start using it today!